<!DOCTYPE html>
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>错误页面</TITLE>
 
 
<style type="text/css">
	body{
		margin: 0;
		padding: 0;
	}
		.top{
			width: 100%;
		 text-align: center;
		}
	.top img{
	 width: 40%;
	}
		.backindex{
		margin: 0 auto;
		text-align: center;
	}
	.backindex input{
		border: none;
		width: 50%;
		height: 30px;
		background-color: gold;
		color: white;
		border-radius: 10px;
		font-weight: bold;
	}
	
</style>

</HEAD>

<body>
	 <div class="top">
	 	<img src="img/20180905192608.png" alt="" />
	 </div>
	 
	 
	 <div style="text-align: center; color: #666; margin-top: 2rem;">
	 	<p style="font-family: '微软幼圆';" id="errormsg"> 页面跑丢了!</p>
	 </div>
 <div class="backindex">
      	<input type="button"  value="返回" />
      </div>
</body>

<script type="text/javascript" charset="utf-8" >
	  (function(){
		 var msg= server.getCache("errorMsg");
		 console.log(msg)
		 if(msg!="") $("#errormsg").text(msg||'');
	  })()
	  $(".backindex input").click(function(){
		var url=  server.getQueryString("redirect");
		if(url==null)url="order"
		  server.loadindex(url);
	  })



</script>
</HTML>

